<ion-view  view-title="{{title}}收货地址" class="addressEdit">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
		<ion-nav-buttons side="right">
			<button class="button button-clear saveText" on-tap="save()">保存</button>
		</ion-nav-buttons>
	</ion-nav-bar>
	
	<!--描述：滑动块-->
	<ion-content class="bg">
        <div class="list">
	     	<li class="item item-input mainItem">
				<div class="textLable">收货人</div>
				<input type="text" placeholder="请输入收货人" ng-model="scope.name" />
			</li>
	
			<li class="item item-input mainItem">
				<div class="textLable">联系电话</div>
				<input type="text" placeholder="请输入手机号" ng-model="scope.mobile" />
			</li>
			
			<li class="item item-input mainItem">
				<div class="textLable">邮编</div>
				<input type="text" placeholder="请输入邮编" ng-model="scope.zip" />
			</li>
			
			<li class="item item-input item-select mainItem" data-tap-disabled="true">
				<div class="textLable">所在地区</div>
				<div class="input-value" ng-click="doSelectProvince()">{{input.province.name}}</div>
			</li>
			<li class="item item-input item-select mainItem" data-tap-disabled="true">
				<div class="input-value" ng-click="doSelectCity()">{{input.city.name}}</div>
			</li>
			<li class="item item-input item-select mainItem" data-tap-disabled="true">
				<div class="input-value" ng-click="doSelectDistrict()">{{input.district.name}}</div>
			</li>
			
			<li class="item mainItem textareaItem">
				<div class="row padding-0">
					<div class="textLable">详细地址</div>
					<div class="col padding-0" style="margin-left: 30px;">
						<textarea type="text" placeholder="请输入详细地址" ng-model="scope.addr"></textarea>
					</div>
				</div>
			</li>
			
			<li class="item item-input mainItem" ng-if="!isShowDefualt">
				<div class="textLable">设为默认</div>
				<input type="text" ng-disabled="true" class="timeLight" />
				<img src="{{scope.def_addr?'./img/guilin/common/icon_checked_r@2x.png':'./img/guilin/common/icon_uncheck_r@2x.png'}}" width="20" on-tap="handleIsDefualt()"/>
			</li>
		</div>
	</ion-content>
</ion-view>